Maple 2026 Questions and Posts

These are Posts and Questions associated with the product, Maple 2026

Please see the attached worksheet:

Question 1:  How to plot a partial portion of an array s2 using "dataplot," say the first 50 elements.

Question 2:  I have also tried to use "plot" to plot the first 50 elements s2 and keep on getting errors or strange looking plot with horizontal lines.  I have tried plot(s2,1..50), plot(s2,x=1..50), plot(s2,m=1..50), plot(s2[m],m=1..50), plot(s2[1..50],1..50], plot(1..50,s2[1..50]).

plot_exercise_a.mw

> kernelopts(version);
Maple 2026.0, X86 64 LINUX, Apr 28 2026, Build ID 2011354

Is the implementation of DataFrames in Maple antiquated compared to PANDAS or other modern implementations of DataFrames? Even doing the most basic tasks is extremely difficult or unintuitive. I have lived in the DataFrame help pages for 5 years and I still can't delete a column from a DataFrame. Will I ever get any work done? 

delete_a_dataframe_column.mw 

Color option in Context Panel does not work

Steps to Reproduce:
1. Create or open a histogram.
2. Try to change its color using the Color option in the Context Panel.
3. Observe that the color does not change.
4. Click outside the histogram.
5. Click back on the histogram.
6. Try the Color option again — now it works.

Expected Behavior:  
The Color option should work immediately when applied to the histogram, without requiring extra clicks.

Actual Behavior:  
The Color option only works after clicking outside the histogram and then reselecting it.

Just for my interest.
Why is the following not working

one := ``(1);
                           one := (1)

 lprint(`%`);
Error, Got internal error in Typesetting:-Parse:-Preprocess : "invalid subscript selector"
Typesetting:-mambiguous(Typesetting:-mambiguous( lprint(%), 

  Typesetting:-merror("Got internal error in Typesetting:-Parse:\

  -Preprocess : "invalid subscript selector"")))

but this works

lprint(one);
``(1)

Maple 2026.1 

We have just released an update to Maple. Maple 2026.1 includes further enhancements to the new AI Assistant and Plotting Themes, as well as Explore, accessibility, and the math engine. As always, we recommend that all Maple 2026 users install this update. 

In particular, please note that this update includes a fix to the problem where titles do not show up when using the Explore commands title option.  As always, thanks for helping us, and your fellow Maple users, by letting us know! 

This update is available through Tools>Check for Updates in Maple, and is also available from the Maple 2026.1 download page on web site, where you can also find more details.  

I do not understand why a once entered prompt cannot be copied from the AI pannel.

I also do not understand that a text passage from an answer (e.g. a proposed help topic) cannot be selected and copied to the clipboard with crtl-c.

It does not make sense to me to unnecessarily restrict a new program feature. This somehow spoils the show.

Is that a restriction to Windows or my local setting or something imposed on Maplesoft from a third party supplier?

Has anybody seen similar AI implementations in other products?

Derive simplifies directly to (1 - a)^3 .

my second Question was deleted by a "moderator" !!!!!!!!! what is this censorship????????? (spam i was told)

NULL

restart;

Error, invalid input: diff received theta(s), which is not valid for its 2nd argument

`Christoffel symbols:`

`Geodesic equations on the unit sphere:`

diff(diff(theta(s), s), s) = 0

diff(diff(phi(s), s), s) = 0

NULL

Download geodesics.mw

it contained only the file geodesics.mw

Jean-Michel 

Hello Ladies and Gents :)

I asked Maple AI to write a program to calculate the geodesics on a sphere.

see the attached ws.

When running this program I receive an error which I don't understand.

of course i know how to do it by paper and pen, it was just a test.

if someone could explain me this error i would greatly appreciate .

thank you and kind regards,

Jean-Michel

Moderator edit - here is the file:

geodesics.mw

In the attached file, I would like to practice calculating distances between the exact and approximate functions using the "Minimize" function. However, the approach using the integral metric according to (4) produces an error message. I am unable to correct this and would appreciate some advice.test.mw

restart

with(Optimization)

assume(0 <= r and r <= 100*Pi)

"term(a,b,c,d,r):=(exp(sin(r))-(a&lowast;sin(b&lowast;r+c)+d));"

proc (a, b, c, d, r) options operator, arrow, function_assign; exp(sin(r))-a*sin(b*r+c)-d end proc

(1)

Minimize(term(s, t, u, v, r)^2, {-100 <= s, -100 <= t, -100 <= u, -100 <= v})

[0.443734259186819141e-30, [r = HFloat(0.8573907336951694), s = HFloat(1.0651237756780674), t = HFloat(0.9373750940497176), u = HFloat(0.9414213728272717), v = HFloat(1.0810520913486565)]]

(2)

Minimize(abs(term(s, t, u, v, r)), {-100 <= s, -100 <= t, -100 <= u, -100 <= v})

[0.206279437975354085e-12, [r = HFloat(0.8598182185084339), s = HFloat(1.0763500233776817), t = HFloat(0.9650602699090793), u = HFloat(0.9650599306574976), v = HFloat(1.0839652198942415)]]

(3)

"term1(a,b,c,d):=(&int;)[0]^(2&lowast;Pi)(term(a,b,c,d,r))^(2)&DifferentialD;r;"

proc (a, b, c, d) options operator, arrow, function_assign; int(term(a, b, c, d, r)^2, r = 0 .. 2*Pi) end proc

(4)

Minimize(term1(s, t, u, v), {-100 <= s, -100 <= t, -100 <= u, -100 <= v})

Error, (in Optimization:-NLPSolve) integration variable previously assigned, 2nd argument evaluates to 1. = 0 .. 2*Pi

 

NULL

Download test.mw

Here is another case where an incorrect solution of a non-algebraic expression is returned.

How to make Maple exclude solutions obtained with allsolutions where the expression is not defined?

IMO, allsolutions facilities of Maple should do this automatically. Anything from a mathematical point of view that speaks against an automatic exclusion?

(Are there other commands that provide a correct solution?)

By the way:

solve(sin(x)/x)

does not return a single solution as stated on the solve help page ("In general for transcendental equations, the solve command returns only one solution,...") because solve correctly discards x=0 but does not consider returning x=pi.

restart

expr := sin(x)/x

sin(x)/x

(1)

The above expression is not defined at x = 0

Eval(expr, x = 0)

Eval(sin(x)/x, x = 0)

(2)

value(Eval(sin(x)/x, x = 0))

Error, (in value/Eval) numeric exception: division by zero

 

Roots of the expression with RootOf

sol := allvalues(RootOf(expr))

Pi*_Z1

(3)

indets(sol)

{_Z1}

(4)

about({_Z1}[])

Originally _Z1, renamed _Z1~:
  is assumed to be: integer
 

 

getassumptions({_Z1})

{_Z1::integer}

(5)

type(0, integer)

true

(6)

subs(x = sol, expr) = 0

sin(Pi*_Z1)/(Pi*_Z1) = 0

(7)

is(sin(Pi*_Z1)/(Pi*_Z1) = 0)

true

(8)

The above should be false because expr is not defined for _Z1 = 0.However, this is what automatic simplifcation does behind the scenes with the output (7) 

sin(Pi*_Z1)/(Pi*_Z1) = 0

0 = 0

(9)

For this particular case Maple should have returned a special name expressing nonzero integers, like _NZ .
`&Zopf;__&ne;0`or `minus`(integer, {0})or `#msup(mi("&Zopf;",fontstyle = "normal"),mo("&ast;"))`are common symbols for that
So _Zis incorrect in the solution and automatic simplification does something wrong.
Only substituing everything at once leads to a correct response:

subs(x = sol, _Z1 = 0, expr)

Error, numeric exception: division by zero

 


Solve

solve(expr, x)

x_sol := [solve(expr, x, allsolutions)]

[2*Pi*_Z2, Pi*(2*_Z2+1)]

(10)

indets(x_sol)

{_Z2}

(11)

subs(x = x_sol[1], expr) = 0

(1/2)*sin(2*Pi*_Z2)/(Pi*_Z2) = 0

(12)

is((1/2)*sin(2*Pi*_Z2)/(Pi*_Z2) = 0)

true

(13)

(1/2)*sin(2*Pi*_Z2)/(Pi*_Z2) = 0

0 = 0

(14)

subs(x = x_sol[1], _Z2 = 0, expr) = 0

Error, numeric exception: division by zero

 

Again _Z2 = 0is not a valid solution for the first solution butNULLworks for the second solution

subs(x = x_sol[2], expr) = 0

sin(Pi*(2*_Z2+1))/(Pi*(2*_Z2+1)) = 0

(15)

is(sin(Pi*(2*_Z2+1))/(Pi*(2*_Z2+1)) = 0)

true

(16)

sin(Pi*(2*_Z2+1))/(Pi*(2*_Z2+1)) = 0

0 = 0

(17)

Substituing everything at once works

subs(x = x_sol[2], _Z2 = 0, expr) = 0

sin(Pi)/Pi = 0

(18)

sin(Pi)/Pi = 0

0 = 0

(19)

However, the second solution does not cover all solutions (it misses even multiples of π)

[seq({_Z2}[] = i, i = -2 .. 2)]

[_Z2 = -2, _Z2 = -1, _Z2 = 0, _Z2 = 1, _Z2 = 2]

(20)

seq(subs([_Z2 = -2, _Z2 = -1, _Z2 = 0, _Z2 = 1, _Z2 = 2][i], x_sol[2]), i = 1 .. nops([_Z2 = -2, _Z2 = -1, _Z2 = 0, _Z2 = 1, _Z2 = 2]))

-3*Pi, -Pi, Pi, 3*Pi, 5*Pi

(21)

Related topic: I also think that new users and students should profit from a directly understandable output like this

Maybe adding new convert form is an option.

Download roots_of_sinc.mw

I calculate a long polynomial p(x) where the coefficients depend on a varaiable d. That takes about 10 minutes. I put a colon at the end of the computation because the result is very large. Then I put d=12.2 say and proceed to do a lot of other things. All well and good. I save the file as fooapril23 and go home. When I return I want to repeat the computaion with d=12.5 which I can do by opening the file, saving it as fooapril24. Then I have to recalculate p which is 10 mintes wasted until I can say d=12.5 and proceed with my work..  I would like to "park" the result for p in a file somewhere and then import it when needed. I went to the read and writeto help pages but could not understand it at all. (I tried bit when I did the writeto command and then opened a new worksheet and tried to read I got an error:

Error, on line %1, syntax error, `>` unexpected:

(The > was the Maple prompt I guess.)

I have tried over the years to use the writeto and read commands but I think the help pages are written for unix gurus and I am a Mac user.

BTW I am using Maple 2026 My worksheet starts with > restart; Digits:=20: with(Plots):
I guess requiring the with(Plots): command in 2026 is some kind of an in joke?

When I click on

called from here

Maple 2026 crashes. I had to use this

PackageTools:-Install("https://maple.cloud/app/4797495082876928/Maple+Customer+Support+Updates",overwrite=true)

Is that issue known?

1 2 3 Page 1 of 3